package business.command
{
	import business.modelLocators.UserModelLocator;
	import business.service.delegate.InitialDelegate;
	
	import com.adobe.cairngorm.commands.ICommand;
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import mx.collections.ArrayCollection;
	import mx.controls.Alert;
	import mx.rpc.IResponder;
	
	public class InitialCommand implements ICommand, IResponder
	{
		public function InitialCommand()
		{
			
		}
		public function execute(event:CairngormEvent):void {
			var initDelegate:InitialDelegate = new InitialDelegate(this);
			initDelegate.getUserTypes();
			Alert.show("execute method");
		}
		public function result(result:Object):void {
			var model:UserModelLocator = UserModelLocator.getInstance(); 
			Alert.show("result Execute");		 
		}
		public function fault(info:Object):void {
			Alert.show("fault");
		}
		

	}
}